package ScreensManager.ProjectScreens 
{
	import flash.events.MouseEvent;
	import ScreensManager.Screen;
	import ScreensManager.ScreenManager;
	/**
	 * ...
	 * @author ...
	 */
	public class IntroductionScreen extends Screen
	{
		
		public function IntroductionScreen() 
		{
			Main.getInstance().stage.addEventListener(MouseEvent.MOUSE_DOWN, onMouseDown,  false, 0, true);
		}
		
		override public function removeListeners():void 
		{
			Main.getInstance().stage.removeEventListener(MouseEvent.MOUSE_DOWN, onMouseDown);
		}
		
		override public function drawScreen():void 
		{
			Main.getInstance().addChild(this);
		}
		
		private function onMouseDown(e:MouseEvent):void
		{
			ScreenManager.setCurrentScreen(Screens.MENU_SCREEN);
		}
	}
}